package edu.sctu.practice.class02.renzhaoxu.test22;

/**
 * Created by Administrator on 2015/11/12.
 */
public class interfaceDemo {

    public static void main(String[] args) {

        Bike bike = new Bike();
        System.out.println(bike.star(true)+"\n"+bike.stop(false));

        Bus bus = new Bus();
        System.out.println(bus.star(false)+"\n"+bike.stop(true));
    }
}
